.class public Lcom/instagram/k/b;
.super Ljava/lang/Object;
.source "NotificationController.java"


# instance fields
.field private final a:Ljava/util/concurrent/Executor;

.field private final b:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Lcom/instagram/k/a;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method private constructor <init>(Ljava/util/concurrent/Executor;)V
    .locals 1
    .parameter

    .prologue
    .line 36
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 37
    iput-object p1, p0, Lcom/instagram/k/b;->a:Ljava/util/concurrent/Executor;

    .line 38
    invoke-static {}, Lcom/b/a/b/dh;->a()Ljava/util/HashMap;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/k/b;->b:Ljava/util/Map;

    .line 39
    return-void
.end method

.method public static a()Lcom/instagram/k/b;
    .locals 2

    .prologue
    .line 33
    new-instance v0, Lcom/instagram/k/b;

    invoke-static {}, Lcom/instagram/k/h;->a()Ljava/util/concurrent/Executor;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/k/b;-><init>(Ljava/util/concurrent/Executor;)V

    return-object v0
.end method

.method static synthetic a(Lcom/instagram/k/b;)Ljava/util/Map;
    .locals 1
    .parameter

    .prologue
    .line 28
    iget-object v0, p0, Lcom/instagram/k/b;->b:Ljava/util/Map;

    return-object v0
.end method

.method private b(Ljava/lang/String;)Lcom/instagram/k/a;
    .locals 3
    .parameter

    .prologue
    .line 135
    iget-object v0, p0, Lcom/instagram/k/b;->b:Ljava/util/Map;

    invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/k/a;

    .line 136
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "category "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " does not exist"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/b/a/a/ah;->a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 137
    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;)V
    .locals 3
    .parameter

    .prologue
    .line 106
    invoke-direct {p0, p1}, Lcom/instagram/k/b;->b(Ljava/lang/String;)Lcom/instagram/k/a;

    move-result-object v0

    .line 107
    iget-object v1, p0, Lcom/instagram/k/b;->a:Ljava/util/concurrent/Executor;

    new-instance v2, Lcom/instagram/k/e;

    invoke-direct {v2, p0, v0}, Lcom/instagram/k/e;-><init>(Lcom/instagram/k/b;Lcom/instagram/k/a;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 117
    return-void
.end method

.method public a(Ljava/lang/String;Lcom/instagram/k/g;)V
    .locals 2
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<DataType:",
            "Ljava/lang/Object;",
            ">(",
            "Ljava/lang/String;",
            "Lcom/instagram/k/g",
            "<TDataType;>;)V"
        }
    .end annotation

    .prologue
    .line 43
    new-instance v0, Lcom/instagram/k/a;

    invoke-static {}, Lcom/instagram/k/i;->a()Landroid/app/NotificationManager;

    move-result-object v1

    invoke-direct {v0, v1, p2}, Lcom/instagram/k/a;-><init>(Landroid/app/NotificationManager;Lcom/instagram/k/g;)V

    .line 47
    iget-object v1, p0, Lcom/instagram/k/b;->b:Ljava/util/Map;

    invoke-interface {v1, p1, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 48
    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .parameter
    .parameter

    .prologue
    .line 78
    invoke-direct {p0, p1}, Lcom/instagram/k/b;->b(Ljava/lang/String;)Lcom/instagram/k/a;

    move-result-object v0

    .line 79
    iget-object v1, p0, Lcom/instagram/k/b;->a:Ljava/util/concurrent/Executor;

    new-instance v2, Lcom/instagram/k/d;

    invoke-direct {v2, p0, v0, p2}, Lcom/instagram/k/d;-><init>(Lcom/instagram/k/b;Lcom/instagram/k/a;Ljava/lang/String;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 89
    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
    .locals 3
    .parameter
    .parameter
    .parameter

    .prologue
    .line 51
    invoke-direct {p0, p1}, Lcom/instagram/k/b;->b(Ljava/lang/String;)Lcom/instagram/k/a;

    move-result-object v0

    .line 52
    iget-object v1, p0, Lcom/instagram/k/b;->a:Ljava/util/concurrent/Executor;

    new-instance v2, Lcom/instagram/k/c;

    invoke-direct {v2, p0, v0, p2, p3}, Lcom/instagram/k/c;-><init>(Lcom/instagram/k/b;Lcom/instagram/k/a;Ljava/lang/String;Ljava/lang/Object;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 61
    return-void
.end method

.method public b()V
    .locals 2

    .prologue
    .line 120
    iget-object v0, p0, Lcom/instagram/k/b;->a:Ljava/util/concurrent/Executor;

    new-instance v1, Lcom/instagram/k/f;

    invoke-direct {v1, p0}, Lcom/instagram/k/f;-><init>(Lcom/instagram/k/b;)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    .line 132
    return-void
.end method
